/* Orbas:
 *     A open source CORBA Specification implementation from Huihoo.
 *
 * Copyright 2002-2003 Huihoo.org, Inc. All Right Reserved.
 *
 * This software is licensed under LGPL license.
 * See terms of license at gnu.org.
 *
 * For more information, visit:
 *
 * http://www.huihoo.org/orbas
 */



package org.huihoo.orbas.poa;

import com.cognition.util.marshal.JavaPrimitiveInputStream;
import com.cognition.util.marshal.JavaPrimitiveOutputStream;
import java.io.IOException;

public class LifespanPolicy_impl extends org.omg.CORBA.LocalObject
                                     implements org.omg.PortableServer.LifespanPolicy {
    
    org.omg.PortableServer.LifespanPolicyValue value;
    
    public LifespanPolicy_impl(org.omg.PortableServer.LifespanPolicyValue value) {
        this.value = value;
    }
    
    public int policy_type() {
        return org.omg.PortableServer.LIFESPAN_POLICY_ID.value;
    }
    
    public org.omg.CORBA.Policy copy() {
        return this;
    }
    
    public void destroy() {
        
    }
    
    public org.omg.PortableServer.LifespanPolicyValue value() {
        
        return value;
    }

}
